using System.Collections.Generic;
using System;

namespace RBAC.Read.Api.Application.Command.ERP.SalesManagement.H
{
    public class GetSalesOrderPlanListDto
    {
        public int TotalCount { get; set; }
        public List<SalesOrderPlanItemDto> Items { get; set; } = new();
    }

    public class SalesOrderPlanItemDto
    {
        /// <summary>序号</summary>
        public int SerialNumber { get; set; }
        /// <summary>销售员</summary>
        public string SalesPerson { get; set; } = string.Empty;
        /// <summary>销售订单号</summary>
        public string SalesOrderNumber { get; set; } = string.Empty;
        /// <summary>业务类型</summary>
        public string BusinessType { get; set; } = string.Empty;
        /// <summary>订单交期</summary>
        public DateTime? DeliveryDate { get; set; }
        /// <summary>交期状态</summary>
        public string DeliveryStatus { get; set; } = string.Empty;
        /// <summary>物料编码</summary>
        public string MaterialCode { get; set; } = string.Empty;
        /// <summary>物料名称</summary>
        public string MaterialName { get; set; } = string.Empty;
        /// <summary>质量要求（来自明细备注）</summary>
        public string QualityRequirement { get; set; } = string.Empty;
        /// <summary>包装要求（来自物料规格描述）</summary>
        public string PackagingRequirement { get; set; } = string.Empty;
        /// <summary>备注（主表）</summary>
        public string Remark { get; set; } = string.Empty;
        /// <summary>订单数量</summary>
        public int? OrderQuantity { get; set; }
    }
}
